const setHttp = require('./request.js').setHttp;

module.exports = {

  getReceiveAddress(ordernum){
    return setHttp(
      `api/bubble/turntable/${ordernum}/address`,
      { ordernum},
      'get'
    )
  },

  setReceiveAddress(ordernum,address){
    return setHttp(
      `api/bubble/turntable/${ordernum}/address`,
      address,
      'post'
    )
  }

}